package com.sdonkey.score.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 
 * @author mengxue
 * 2016年1月4日
 */
public class TadPlacement implements Serializable{
	private static final long serialVersionUID = 8163316643696272233L;
	//id
	private int id;
	//广告id
	private String adId;
	//广告名字
	private String adName;
	//广告图片路径
	private String adHomepage;
	//广告预览路径()
	private String padVersionUrl;
	//广告预览路径(pc)
	private String pcVersionUrl;
	//广告预览路径(mobile)
	private String mobileVersionUrl;
	//广告预览路径(tv)
	private String tvVersionUrl;
	//广告预览路径(最终使用的路径)
	private String lastUrl;
	//广告属性标签
	private String adClassify;
	//投放开始时间
	private Timestamp planStart;
	//投放开始时间
	private String starTime;
	//投放结束时间
	private Timestamp planEnd;
	//投放结束时间
	private String endTime;
	//投放金额
	private BigDecimal releaseAmount;
	//投放单价
	private BigDecimal deliveryPrice;
	//投放消费金额
	private BigDecimal deliveryConsumeAmount;
	//投放剩余金额
	private BigDecimal deliveryRemainingAmount;
	//投放载体（MOBILE|PC|PAD|TV）
	private String deliveryCarrier;
	//投放载体单价（1.0|2.5|3.0| 5.5）
	private String carrierPrice;
	//投放渠道金额
	private BigDecimal channelAmount;
	//投放渠道单价
	private BigDecimal channelPrice;
	//渠道消费金额
	private BigDecimal channelConsumePrice;
	//渠道消费总金额
	private BigDecimal channelRemainingAmount;
	//国家
	private String country;
	//地区
	private String area;
	//目标人群
	private String targetUser;
	//广告需求
	private String adDemand;
	//兴趣爱好
	private String hobby;
	//操作人id
	private String userId;
	//创建时间
	private Timestamp createTime;
	//更新时间
	private Timestamp updateTime;
	//投放状态(上线  下线 )
	private String status;
	//
	private BigDecimal channelinfo;
	//当前广告余额
	private BigDecimal advertiserBalance;
	//投放成本
	private String putPrice;
	//渠道图片路径
	private String logoUrl;
	//渠道id(在表里的唯一标识)
	private Integer appId;
	public String getPutPrice() {
		return putPrice;
	}



	public void setPutPrice(String putPrice) {
		this.putPrice = putPrice;
	}

	
	public String getLogoUrl() {
		return logoUrl;
	}



	public void setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
	}



	public String getPadVersionUrl() {
		return padVersionUrl;
	}



	public void setPadVersionUrl(String padVersionUrl) {
		this.padVersionUrl = padVersionUrl;
	}




	//渠道名称
	private String channelName;

	public String getChannelName() {
		return channelName;
	}



	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	

	public BigDecimal getAdvertiserBalance() {
		return advertiserBalance;
	}



	public void setAdvertiserBalance(BigDecimal advertiserBalance) {
		this.advertiserBalance = advertiserBalance;
	}



	public TadPlacement(){
	}
	


	public void setId(int id) {
		this.id = id;
	}
	
	public int getId() {
		return this.id;
	}

	public void setAdId(String adId) {
		this.adId = adId;
	}
	
	public String getAdId() {
		return this.adId;
	}

	public void setPlanStart(Timestamp planStart) {
		this.planStart = planStart;
	}
	
	public Timestamp getPlanStart() {
		return this.planStart;
	}

	public void setPlanEnd(Timestamp planEnd) {
		this.planEnd = planEnd;
	}
	
	public Timestamp getPlanEnd() {
		return this.planEnd;
	}

	public void setReleaseAmount(BigDecimal releaseAmount) {
		this.releaseAmount = releaseAmount;
	}
	
	public BigDecimal getReleaseAmount() {
		return this.releaseAmount;
	}

	public void setDeliveryPrice(BigDecimal deliveryPrice) {
		this.deliveryPrice = deliveryPrice;
	}
	
	public BigDecimal getDeliveryPrice() {
		return this.deliveryPrice;
	}

	public void setDeliveryConsumeAmount(BigDecimal deliveryConsumeAmount) {
		this.deliveryConsumeAmount = deliveryConsumeAmount;
	}
	
	public BigDecimal getDeliveryConsumeAmount() {
		return this.deliveryConsumeAmount;
	}

	public void setDeliveryRemainingAmount(BigDecimal deliveryRemainingAmount) {
		this.deliveryRemainingAmount = deliveryRemainingAmount;
	}
	
	public BigDecimal getDeliveryRemainingAmount() {
		return this.deliveryRemainingAmount;
	}

	public void setDeliveryCarrier(String deliveryCarrier) {
		this.deliveryCarrier = deliveryCarrier;
	}
	
	public String getDeliveryCarrier() {
		return this.deliveryCarrier;
	}

	public void setCarrierPrice(String carrierPrice) {
		this.carrierPrice = carrierPrice;
	}
	
	public String getCarrierPrice() {
		return this.carrierPrice;
	}

	public void setChannelAmount(BigDecimal channelAmount) {
		this.channelAmount = channelAmount;
	}
	
	public BigDecimal getChannelAmount() {
		return this.channelAmount;
	}

	public void setChannelPrice(BigDecimal channelPrice) {
		this.channelPrice = channelPrice;
	}
	
	public BigDecimal getChannelPrice() {
		return this.channelPrice;
	}

	public void setChannelConsumePrice(BigDecimal channelConsumePrice) {
		this.channelConsumePrice = channelConsumePrice;
	}
	
	public BigDecimal getChannelConsumePrice() {
		return this.channelConsumePrice;
	}

	public void setChannelRemainingAmount(BigDecimal channelRemainingAmount) {
		this.channelRemainingAmount = channelRemainingAmount;
	}
	
	public BigDecimal getChannelRemainingAmount() {
		return this.channelRemainingAmount;
	}

	public void setCountry(String country) {
		this.country = country;
	}
	
	public String getCountry() {
		return this.country;
	}

	public void setArea(String area) {
		this.area = area;
	}
	
	public String getArea() {
		return this.area;
	}

	public void setTargetUser(String targetUser) {
		this.targetUser = targetUser;
	}
	
	public String getTargetUser() {
		return this.targetUser;
	}

	public void setAdDemand(String adDemand) {
		this.adDemand = adDemand;
	}
	
	public String getAdDemand() {
		return this.adDemand;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
	
	public String getHobby() {
		return this.hobby;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getUserId() {
		return this.userId;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
	public Timestamp getCreateTime() {
		return this.createTime;
	}
	
	


	public Integer getAppId() {
		return appId;
	}



	public void setAppId(Integer appId) {
		this.appId = appId;
	}


	
	public String getAdClassify() {
		return adClassify;
	}



	public void setAdClassify(String adClassify) {
		this.adClassify = adClassify;
	}



	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
	
	public Timestamp getUpdateTime() {
		return this.updateTime;
	}

	
	public String getAdName() {
		return adName;
	}



	public void setAdName(String adName) {
		this.adName = adName;
	}

	

	public String getAdHomepage() {
		return adHomepage;
	}



	public void setAdHomepage(String adHomepage) {
		this.adHomepage = adHomepage;
	}



	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getStatus() {
		return this.status;
	}
	
	public BigDecimal getChannelinfo() {
		return channelinfo;
	}



	public void setChannelinfo(BigDecimal channelinfo) {
		this.channelinfo = channelinfo;
	}

	public String getPcVersionUrl() {
		return pcVersionUrl;
	}



	public void setPcVersionUrl(String pcVersionUrl) {
		this.pcVersionUrl = pcVersionUrl;
	}



	public String getMobileVersionUrl() {
		return mobileVersionUrl;
	}



	public void setMobileVersionUrl(String mobileVersionUrl) {
		this.mobileVersionUrl = mobileVersionUrl;
	}



	public String getTvVersionUrl() {
		return tvVersionUrl;
	}



	public void setTvVersionUrl(String tvVersionUrl) {
		this.tvVersionUrl = tvVersionUrl;
	}



	public String getLastUrl() {
		return lastUrl;
	}



	public void setLastUrl(String lastUrl) {
		this.lastUrl = lastUrl;
	}



	public String getStarTime() {
		return starTime;
	}



	public void setStarTime(String starTime) {
		this.starTime = starTime;
	}



	public String getEndTime() {
		return endTime;
	}



	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}



	@Override
	public String toString() {
		return  "TadPlacement ["
			+ "Id = " + getId() + ","
			+ "AdId = " + getAdId() + ","
			+ "PlanStart = " + getPlanStart() + ","
			+ "PlanEnd = " + getPlanEnd() + ","
			+ "ReleaseAmount = " + getReleaseAmount() + ","
			+ "DeliveryPrice = " + getDeliveryPrice() + ","
			+ "DeliveryConsumeAmount = " + getDeliveryConsumeAmount() + ","
			+ "DeliveryRemainingAmount = " + getDeliveryRemainingAmount() + ","
			+ "DeliveryCarrier = " + getDeliveryCarrier() + ","
			+ "CarrierPrice = " + getCarrierPrice() + ","
			+ "ChannelAmount = " + getChannelAmount() + ","
			+ "ChannelPrice = " + getChannelPrice() + ","
			+ "ChannelConsumePrice = " + getChannelConsumePrice() + ","
			+ "ChannelRemainingAmount = " + getChannelRemainingAmount() + ","
			+ "Country = " + getCountry() + ","
			+ "Area = " + getArea() + ","
			+ "TargetUser = " + getTargetUser() + ","
			+ "AdDemand = " + getAdDemand() + ","
			+ "Hobby = " + getHobby() + ","
			+ "UserId = " + getUserId() + ","
			+ "CreateTime = " + getCreateTime() + ","
			+ "UpdateTime = " + getUpdateTime() + ","
			+ "Status = " + getStatus() + ","
			+ "Channelinfo = " + getChannelinfo() + ","
		+"]";
	}
	
}


